<script setup lang="ts"></script>

<template>
  <div
    class="flex items-center gap-1 bg-gray-200 m-1 rounded-lg border-gray-100 border-2 border-solid"
  >
    <slot name="prefix"></slot>
    <input
      class="input-box p-1 border-none bg-transparent outline-none"
      placeholder="请输入"
    />
    <slot name="suffix"></slot>
  </div>
</template>
